package qldc.pm.qlktcsdldc.service.persistence;

import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil;
import com.liferay.portal.kernel.util.ReferenceRegistry;


public class DanhMucSoBanNganhFinderUtil {
    private static DanhMucSoBanNganhFinder _finder;

    public static java.util.List<qldc.pm.qlktcsdldc.model.DanhMucSoBanNganh> searchByTenSoBanNganh(
        java.lang.String tenSoBanNganh)
        throws com.liferay.portal.kernel.exception.SystemException {
        return getFinder().searchByTenSoBanNganh(tenSoBanNganh);
    }

    public static java.util.List<qldc.pm.qlktcsdldc.model.DanhMucSoBanNganh> searchAll()
        throws com.liferay.portal.kernel.exception.SystemException {
        return getFinder().searchAll();
    }

    public static DanhMucSoBanNganhFinder getFinder() {
        if (_finder == null) {
            _finder = (DanhMucSoBanNganhFinder) PortletBeanLocatorUtil.locate(qldc.pm.qlktcsdldc.service.ClpSerializer.getServletContextName(),
                    DanhMucSoBanNganhFinder.class.getName());

            ReferenceRegistry.registerReference(DanhMucSoBanNganhFinderUtil.class,
                "_finder");
        }

        return _finder;
    }

    public void setFinder(DanhMucSoBanNganhFinder finder) {
        _finder = finder;

        ReferenceRegistry.registerReference(DanhMucSoBanNganhFinderUtil.class,
            "_finder");
    }
}
